package com.hotel.service.impl;

import com.hotel.mapper.RightsMapper;
import com.hotel.pojo.Rights;
import com.hotel.service.RightService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RightsServiceImpl implements RightService {

    @Autowired
    private RightsMapper rightsMapper;

    @Override
    public List<Rights> getRightsList1() {
        return rightsMapper.getRightsList1();
    }

    @Override
    public List<Rights> getRightsList2() {
        return rightsMapper.getRightsList2();
    }

    @Override
    public List<Rights> getRightsList3() {
        return rightsMapper.getRightsList3();
    }
}
